<!-- 统计表格 -->

<template>
  <WebTable path="summary">
    <RowText label="姓名" bind="userName" />

    <RowPhone label="手机" bind="userPhone" width="auto" />

    <RowTree :label="`所属${CORE.MAP.ORGAN}`" bind="deptId, deptName" :dict="CORE.ORGAN.DICT" :minWidth="120" />

    <RowNum label="应出勤" bind="attendance" empty="0" />

    <RowNum label="实际出勤" bind="attendanceReal" empty="0" />

    <RowNum label="迟到" bind="late" empty="0" />

    <RowNum label="迟到总时间" bind="lateMinutes" suffix=" 分钟" />

    <RowNum label="早退" bind="early" empty="0" />

    <RowNum label="旷工" bind="absenteeism" empty="0" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTableSummary',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb('summary', 'summary_')],
}
</script>
